package com.example.ibsp_demo.pojo.entity.user;

import java.time.LocalDateTime;

public class SimilarUser {
    private Integer surid;
    private Integer uid;
    private double similarity; //相似度
    private LocalDateTime updateTime; //更新时间

    public SimilarUser() {
    }

    public SimilarUser(Integer surid, Integer uid, double similarity, LocalDateTime updateTime) {
        this.surid = surid;
        this.uid = uid;
        this.similarity = similarity;
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "SimmilarUser{" +
                "surid=" + surid +
                ", uid=" + uid +
                ", similarity=" + similarity +
                ", updateTime=" + updateTime +
                '}';
    }

    public Integer getSurid() {
        return surid;
    }

    public void setSurid(Integer surid) {
        this.surid = surid;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public double getSimilarity() {
        return similarity;
    }

    public void setSimilarity(double similarity) {
        this.similarity = similarity;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }
}
